public class Teacher extends Person {
    private String title;
    private String researchArea;
    public Teacher(String personId, String name, String department, String title, String researchArea) {
        super(personId, name, department);
        this.title = title;
        this.researchArea = researchArea;
    }

    public void printWorksheet() {
        super.printWorksheet();
        System.out.println("=== 教师授课表 ===");
        System.out.println("职称：" + title);
        System.out.println("研究方向：" + researchArea);
        System.out.println("授课课程：算法设计、深度学习、学术论文写作\n");
    }
}
